<?php
/**
 * Created by JetBrains PhpStorm.
 * User: ishowshao
 * Date: 11-7-19
 * Time: 下午3:31
 * To change this template use File | Settings | File Templates.
 */
 
$output = array(
    array(
        'text' => '腾讯网',
        'iframe' => true,
        'url' => 'http://www.qq.com/',
        'leaf' => true
    ),
    array(
        'id' => 'new_order',
        'text' => '创建新订单',
        'leaf' => true
    ),
    array(
        'id' => 'no',
        'text' => 'no',
        'leaf' => false,
        'children' => array(
            array(
                'id' => 'sub',
                'text' => 'sub',
                'leaf' => true
            )
        )
    )
);
echo json_encode($output);
